package com.ruoyi.produce.process.scheduling.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

import java.sql.Timestamp;

/**
 * 排产
 * 表单produce_scheduling
 */
public class Scheduling extends BaseEntity {
    /**
     * 班次编号
     */
    private String shiftInfoId;
    /**
     * 早/晚班
     */
    private String shiftInfoName;
    /**
     * 机器编号
     */
    private String machineId;
    /**
     * 机器名称
     */
    private String machineName;

    /**
     * 加工单编号
     */
    private String workSheetId;
    /**
     * 产品名称
     */
    private String produceName;

    /**
     * 员工编号
     */
    private String staffId;
    /**
     * 员工名称
     */
    private String staffName;
    /**
     * 不合格数量
     */
    private String unqualifiedNumber;

    public String getUnqualifiedNumber() {
        return unqualifiedNumber;
    }

    public void setUnqualifiedNumber(String unqualifiedNumber) {
        this.unqualifiedNumber = unqualifiedNumber;
    }


    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
    /**
     * 完成状态
     * 1-进行 2-完成 3-待生产
     */
    private String completedStatus;

    public String getProduceName() {
        return produceName;
    }

    public void setProduceName(String produceName) {
        this.produceName = produceName;
    }

    public String getShiftInfoId() {
        return shiftInfoId;
    }

    public void setShiftInfoId(String shiftInfoId) {
        this.shiftInfoId = shiftInfoId;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public String getMachineName() {
        return machineName;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }

    public String getWorkSheetId() {
        return workSheetId;
    }

    public void setWorkSheetId(String workSheetId) {
        this.workSheetId = workSheetId;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getShiftInfoName() {
        return shiftInfoName;
    }

    public void setShiftInfoName(String shiftInfoName) {
        this.shiftInfoName = shiftInfoName;
    }

    public String getCompletedStatus() {
        return completedStatus;
    }

    public void setCompletedStatus(String completedStatus) {
        this.completedStatus = completedStatus;
    }

    @Override
    public String toString() {
        return "Scheduling{" +
                "shiftInfoId='" + shiftInfoId + '\'' +
                ", shiftInfoName='" + shiftInfoName + '\'' +
                ", machineId='" + machineId + '\'' +
                ", machineName='" + machineName + '\'' +
                ", workSheetId='" + workSheetId + '\'' +
                ", produceName='" + produceName + '\'' +
                ", staffId='" + staffId + '\'' +
                ", staffName='" + staffName + '\'' +
                ", createTime=" + createTime +
                ", completedStatus='" + completedStatus + '\'' +
                '}';
    }
}
